package cn.git.bbs.core.service.upload;

import cn.hfuu.bbs.utils.FastDFSUtils;
import org.springframework.stereotype.Service;

@Service("uploadPicService")
public class UploadPicServiceImpl implements UploadPicService {
    public String uploadPic(byte[] bytes, String originalFilename, long size) {

        String path = FastDFSUtils.uploadPic(bytes, originalFilename, size);

        return path;
    }
}
